package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.CompanyDO;
import com.sdleyou.treepro.common.model.vo.CompanyVO;
import org.springframework.beans.BeanUtils;

public class CompanyDO2CompanyVOConverter {

    public static CompanyVO convert(CompanyDO companyDO) {
        CompanyVO companyVO = new CompanyVO();
        BeanUtils.copyProperties(companyDO, companyVO);
        return companyVO;
    }
}
